package com.wm.picture.query;

import com.wm.blog_common.annotation.NotEmpty;
import lombok.Data;

import java.io.InputStream;
import java.io.Serializable;

/**
 * <p>
 * 文件表 查询
 * </p>
 *
 * @author wm_yu
 * @since 2020-03-26
 */
@Data
public class TFileQuery implements Serializable{

    /**
     * 文件流
     */
    @NotEmpty("上传文件为空")
    private InputStream inputStream;

    @NotEmpty("文件扩展名为空")
    private String picExpandedName;

    @NotEmpty("文件名为空")
    private String picName;

    @NotEmpty("文件大小为空")
    private Long fileSize;

    private Long adminId;

    private Long userId;



}
